package com.hospital.ssm.mapper;

import com.hospital.ssm.model.Department;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DepartmentMapper {

    List<Department> DepartmentList(@Param("id") Integer id) throws Exception;

    int DepartmentAdd(@Param("department") Department department) throws Exception;

    int DepartmentDelete(@Param("id") Integer id) throws Exception;

    int DepartmentUpdate(@Param("department") Department department) throws Exception;

    int DepartmentUpdatehtStatus(@Param("department") Department department) throws Exception;
}
